package org.llc.flink.study.example

object List02 {
  def main(args: Array[String]): Unit = {
    // 拉链
    val list1 = List(1, 2, 3)
    val list2 = List(4, 5, 6)
    val res = list1.zip(list2)
    println("res = " + res)

    println("-------------遍历---------------")
    for (item <- res) {
      println(item._1 + "——" + item._2)
    }
  }
}
